/* ELEMENTS GLOBAUX */

body {
	width: 1000px;
	margin: auto;
	border: 1px solid #4d8189;
	font-family: TrebuchetMS, "Trebuchet MS", Verdana, Tahoma, sans-serif;
	color: #393939;
}

#content {
	width: 960px;
	margin: 30px 20px 30px 20px;
}

.error {
	color: red;
}

h1{
	font-size: 2em;
	margin: 0 0 25px 0;
}
h2{
	font-size: 1.7em;	
	margin: 40px 0 10px 50px;	
}
h3{
	font-size: 1.4em;	
}
h4{
	font-size: 1.2em;	
}
h5{
	font-size: 1.1em;	
}
h6{
	font-size: 1em;	
}
h7{
	font-size: 0.8em;
}


#header {
	padding: 20px 20px 40px 20px;
	color: white;
	background-color: #4d8189;
}
	#header a {
		color: #393939;
		text-decoration: none;	
	}	
	#header a #admin_logout,
	#header a #retour_site {
		padding: 3px 8px 3px 8px;
		float: right;
		border: 1px solid #d69f50;
		background-color: #f3be73;
		border-radius: 10px;
		font-weight: bold;
		font-size: 0.9em;
	}
		#header a #admin_logout:hover,
		#header a #retour_site:hover {
			background-color: #ee9f2e;
		}
	#header a #retour_site {
	margin-right: 20px;
	}
	


#adminMenu a {
	font-size: 1.4em;
	text-align: center;
	color: white;
}
	#adminMenu li {
		background-color: #8fb1b6;	
		border-radius: 10px;
		border: 1px solid #8d9d9f;
		padding-top: 15px;
		display: inline-block;
		width: 220px;
		height: 45px;
		margin: 10px 10px 10px 10px;
	}
	#adminMenu li:hover {
		background-color: #4d8189;
	}
	
.crudFlash {
	display: none;
}

#footer {
	font-size: 1.3em;
	font-weight: bold;
	margin-top: 50px;
	padding-top: 20px;
	height: 50px;
	text-align: center;
	color: white;
	background-color: #4d8189;	
}

	
/* Page liste */

#crudBreadcrumb {
	border-top: 1px solid #8dbec5;
	border-bottom: 1px solid #4d8189;
	background-color: #7ca9b0;
	padding: 0 0 2px 10px;
}
	#crudBreadcrumb ul li {
		display: inline-block;
	}
		#crudBreadcrumb ul li,
		#crudBreadcrumb ul li a {
			font-size: 0.9em;
			font-weight: bold;
			color: white;
			text-decoration: none;
		}
			#crudBreadcrumb ul li a:hover{
				text-decoration: underline;
			}
			
#crudList {
	background-color: #8fb1b6;	
	border-radius: 10px;
	border: 1px solid #8d9d9f;
	margin: 10px 20px 30px 20px;
}

#crudListSearch {
	border-top-left-radius: 10px;
	border-top-right-radius: 10px;
	border-bottom: 1px solid #8d9d9f;
	padding: 10px 0 10px 20px;
	margin: 0 0 10px 0;
	background-color: #4d8189;
}

#crudListSearch #crudListAdd {
	border-radius: 5px;
	float: right;
	padding: 5px 0 0 0;
	margin: -3px 20px 0 0;
	width: 90px;
	height: 25px;
	background: #93de5c;
	border: 1px solid #8d9d9f;
}
#crudListSearch a {
	text-align: center;
	color: #405c60;
	font-weight: bold;
	font-size: 0.9em;
	text-decoration: none;
}
	#crudListSearch #crudListAdd:hover {
	background: #75cd35;	
	}
	
#crudListTable {
	padding: 0 10px 10px 0;
}
	#crudListTable thead tr th a {
		display: block;
		margin: 0 0 15px 10px;
		padding-left: 20px;
		font-size: 1.2em;
		font-weight: bold;
		color: white;
		text-decoration: none;
	}
	#crudListTable thead tr th a.crudSortedDesc {
		background: url("../images/top.png") no-repeat left ;
	}
	#crudListTable thead tr th a.crudSortedAsc {
		background: url("../images/bottom.png") no-repeat left ;
	}
	#crudListTable tbody {
		display: block;
		margin-left: 20px;
		border: 1px solid #8d9d9f;
		width: 920px;
	}	
	#crudListTable tbody tr {
		display: block;
		padding: 3px 10px 5px 10px;
		border-bottom: 1px solid #8d9d9f;
		background: white;
	}
		#crudListTable tbody tr td a {
			color: #4d8189;
			font-weight: bold;
			text-decoration: none;
			font-size: 0.9em;
		}
		#crudListTable tbody tr td a:hover{
			text-decoration: underline;
		}

#crudListPagination {
	border-bottom-left-radius: 10px;
	border-bottom-right-radius: 10px;
	border-top: 1px solid #8d9d9f;
	padding: 10px 0 10px 20px;
	margin: 10px 0 0 0;
	background-color: #4d8189;
	color: white;
	font-size: 0.9em;
	font-weight: bold;
}


/* Edit et New */

.crudHelp {
	display: none;
}

#crudShow, 
#crudBlank {
	background-color: #8fb1b6;	
	border-radius: 10px;
	border: 1px solid #8d9d9f;
	margin: 10px 20px 30px 20px;
}

#crudShow .objectForm,
#crudBlank .objectForm,
#form_1 {
	border-top-left-radius: 10px;
	border-top-right-radius: 10px;
	padding: 10px 0 10px 20px;
	margin: 0 0 10px 0;
	width: 910px;
}

#crudShow .objectForm form .crudField,
#crudBlank .objectForm form .crudField,
.form_field {
	margin: 15px 0 15px 0;
}

#crudShow .objectForm form label,
#crudBlank .objectForm form label,
form label {
	display: inline-block;
	text-align: right;
	margin-right: 10px;
	width: 200px;
	font-size: 0.9em;
	font-weight: bold;
}

#precision_infos {
	color: white;
	font-size: 0.8em;
	font-style: italic;
	margin: 5px 0 0 75px;
	width: 400px;
}

#crudShow .objectForm form input[type="text"],
#crudBlank .objectForm form label input[type="text"],
#crudShow .objectForm form select,
#crudBlank .objectForm form label select,
form input[type="text"],
form label input[type="text"] {
	max-width: 250px;
}

#crudShow .objectForm form ul.crudButtons,
#crudBlank .objectForm form ul.crudButtons,
.crudButtons {
	margin: 30px 0 0 0;
	border-top: 1px solid #4d8189;
	padding: 20px 0 0 0;
	text-align: center
}
	#crudShow .objectForm form ul.crudButtons li,
	#crudBlank .objectForm form ul.crudButtons li {
		display: inline-block;
		margin-right: 30px;
	}
		#crudShow .objectForm form ul.crudButtons li input[type="submit"],
		#crudBlank .objectForm form ul.crudButtons li input[type="submit"],
		.crudButtons input[type="submit"] {
			font-size: 0.8em;
			font-weight: bold;
			height: 30px;
		} 
		#crudShow .crudDelete input {
			float: right;
			margin: 10px 10px 0 0;
			font-size: 0.8em;
			font-weight: bold;
			height: 25px;			
		}


#admin_errors {
	float: right;
	width: 400px;
	margin: 20px 20px 0 20px;
}
	#admin_errors .admin_notification {
		border-bottom: 1px solid black;
		padding: 0 0 5px 20px;
		margin-bottom: 10px;
		width: 280px;
		font-weight: bold;
	}
	#admin_errors ul.admin.error {
		padding: 0 0 5px 20px;
		margin-bottom: 10px;	
		width: 320px;
	}
	#admin_errors ul.admin.error li {
		margin-bottom: 10px;	
	}			